{extend name="public/world"}
{block name="title"}添加仓库{/block}
{block name="style"}
<style type="text/css">
    .layui-form-label {width:110px;}
</style>
{/block}
{block name="container"}
<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
    <div class="layui-card" style="padding: 20px 0 0 0;height:325px;">
        <div id="gerenBox">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label label-required">仓库名称</label>
                    <div class="layui-input-inline" style="width: 350px;">
                        <input type="text" name="name" value="{$storage.name}" lay-verify="required" placeholder="请输入仓库名称" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">负责人</label>
                    <div class="layui-input-inline">
                        <input type="text" name="username" value="{$storage.username}" placeholder="请输入负责人" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">联系电话</label>
                    <div class="layui-input-inline">
                        <input type="text" name="phone" value="{$storage.phone}" placeholder="请输入联系电话" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">仓库地址</label>
                    <div class="layui-input-inline" style="width: 350px;">
                        <input type="text" name="address" value="{$storage.address}" placeholder="请输入仓库地址" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-hide">
            <input type="button" lay-submit lay-filter="LAY-front-submit" id="LAY-front-submit" value="确认">
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    //JavaScript代码区域
    layui.use(['form'], function() {
        var $ = layui.$
            , form = layui.form;
    });
</script>
{/block}